The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Auto copy for files from folder to folder upon instant writing Bashar UNIX for Advanced & Expert Users 2 08-21-2008 11:44 AM
Parse the .txt file for folder name and FTP to the corrsponding folder. MeganP Shell Programming and Scripting 3 07-03-2007 10:54 AM
Upload of the images from the folder to the Database table shashisaini24 UNIX for Advanced & Expert Users 0 11-29-2006 03:03 AM
Take a folder name and find it in another folder (Complicated) hkhan12 Shell Programming and Scripting 5 09-06-2006 09:25 AM
Can't upload to red hat 7.3 Phineus Filesystems, Disks and Memory 4 11-14-2002 07:07 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-19-2002
Registered User
 

Join Date: May 2002
Location: Austria
Posts: 9
Ftp Upload Folder

Hi!

I'd like to upload a complete folder with subfolders with put. At the moment I always get the err-msg:

aboutme: not a plain file

Could anyone help me??

Thanx
Forum Sponsor
  #2  
Old 06-19-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
It matters what you are using to do the ftp (and possibly where you are going to).

Normal ftp does not create directories on the fly (the plain file error) as far as I can tell - you can use mkdir to create the directories and then use mput to put the other files into the directory.

If you can, use a ftp client or web browser that will create directories without the hassle.
  #3  
Old 06-20-2002
Registered User
 

Join Date: May 2002
Location: Austria
Posts: 9
FTP UPLOAD FOLDER

Hi!

I cannot use FTP on this computer here in school (port blocked). But I can use SSH. So what I do is I log to an SSH account and use the UNIX FTP on this machine.

So first I upload the files in a tar to the SSH account, then I want to FTP all of them to my homepage account.


Is there the possibility to use TAR over the FTP account too?? Probably with the SITE command??
  #4  
Old 06-21-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
Is there the possibility to use TAR over the FTP account too?? Probably with the SITE command??
I don't know - you never posted your OS or type of FTP you are using. The FTP I use does not have a site command.

If you tar the files from the top directory, compress the tar file, and then ftp (or scp which may work from the system you ssh from) the file (set the type to binary in ftp) you can then uncompress the file and extract the tar which will create the directories and files.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0