Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Moving A file to a different directory

Featured Replies

Hi All,

I would like to move a file to a different directory...

I read this but didn't see how....

http://www.360works.com/plugins/FTPPLUGIN/documentation.html

directory:

file1

file2

FOLDER1

GOAL: I would like to move file1 to FOLDER1

what function(s) do I use?

(I hope I don't have to download then upload the delete original - do I?

afaik, there is no move. So, yes, download, upload and go back and delete.

If you're moving the file to an existing directory then you can move it by calling:

FTPeek_Rename( "file1" ; "FOLDER1/file1" )




If the folder does not exist then create the folder first by calling:


FTPeek_MakeDir( "FOLDER1" )

I will adjust the documentation file for next release to make this more apparent.

  • 4 years later...

Hi, 

 

This is amazing, but I can I use the FTPeek_Rename command also to move a folder? I am now downloading a file, and re-uploading it to a different folder, then delete the FTP origin directory. This is a burden on bandwidth - I am usually just a lot faster to simply move the directory remotely using a FTP client. 

 

Can we use FTPeek_Rename to move a folder around?

 

I have also - unsuccessfully - attempted to use FTPeek_ExecuteCommand and RNFR - RNTO sequence; but that just threw errors....

 

Thank you!

  • 2 weeks later...

FTPeek does not currently support using FTPeek_Rename to move a folder around. I would expect a good workaround to be the FTPeek_ExecuteCommand function.

 

If that threw errors, the plugin should have caught said errors and logged them with a readable message. Can you reproduce the problem and follow the steps listed here to send in your log file:

 

http://docs.360works.com/index.php/Send_us_a_bug_report

 

360Works can also customize the plugin for you. Please send an email to [email protected] if you would like an estimate on customizing the FTPeek plugin.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.