FTP protocol help

Ok, so on the side I'm trying to work on this little project which would sync up my documents at school with those at home. The school offers FTP access to those files. The problem I have, however, is that I don't know how to make it keep the modification times on files that are uploaded. Uploaded files appear to take the time at which they were uploaded as mtimes,ctimes, and all other times, which is a problem in this case since it would make remote files always appear newer than local files. Any suggestions on how I could preserve the local mtimes during the upload?

neotuli wrote:They use novell crap, I portscanned them, no ssh stuff open :-/ , and I doubt I can convince them to add it. It's not like I'm talking about a university btw..it's just my highschool...
An indirect workaround which I've used before in a similiar case to yours, is:
1. Having 1 (only 1) tar archive containing all your files.
2. On your local machine, add the new files to the tar archive (which should preserve the timestamps as well).
3. Upload your tarball to the remote machine.  It will put a different timestamp on that tarball, but who cares about that.
4. On the remote winclient you use at school, when you modify a file, just add only that file back to the tar archive.  I believe WinZip handles tar archives nicely.
5. When you need to get something off the remote machine, get that tarball back, untar with replace only newer files option.  I don't remember that tar option, or if it's default.
* Basically, I just remember having 1 tarball (repository if you wish) that had all my files in it.  Whether I was just adding 1 or 30 new files to the remote machine, I tar'ed em up first in my tarball repo and then sent that tarball instead of individual files.
Not elegant, but it worked for me.  Of course, if you are on a slow connection, as that tarball grows, so will the time needed to get/put them.  In that case, maybe as your tarball grows, break your repo tarball up into several smaller ones defined by some category, much like how Arch has different repo's.

Similar Messages

  • Http and ftp protocol extremely slow (pop working well though)

    Hello. Starting today, on one of my macs, http and ftp protocol are extremely slow (page load 90 sec. instead of 2) (pop working well though). Provider finds nothing, on second mac all is fine (same cable, same settings … ). Cable connection, checked both sockets, changed cable, no change. Since pop3 protocol seems to work fine, this does look like a software problem to me. (Repaired permissions, no other tests or means. All used software up to date (OSX10.6.8 etc.))
    I'd be thankful for any idea.

    Not at all. Then I turned on NetBarrier, for testing and to avoid any damage (piece of software I don't employ in vain), and all slowed down again, but not quite as badly as before. Restarted, and now it seems back to normal with all extensions loaded. (I had done that before, obviously, and with no outcome, so it can't very well have been just that. But what?)
    I'll watch and learn, and report back; unless you have any further suggestions for the moment. Either way, thankyou very much so far.

  • Sender File Adapter (FTP Protocol)

    Hi Every Body,
    I have a problem in using Sender File Adapter of (FTP Protocol Type)
    I have given all required settings to get connected to the FTP Server.
    When i give ( Source Directory and Exact File Name ex : MDMERP.xml)
    File gets picked up.
    But When i give (Source Directory and Exact File Name ex : *.xml)
    it gives below exception
    Error occurred while connecting to the FTP server "mdmerp6:21": java.net.ConnectException: Connection refused: connect
    Strange any guess !! :(((
    Regards
    Srinivas

    Hi,
    If that is connection error then it should have not allowed to pick up when i have given the specifif file name ,
    .xml is too not working
    my problem all starts if i use other than file name declarartion it throws error
    of below kind
    Error occurred while connecting to the FTP server "mdxxxp6:21": java.net.ConnectException: Connection refused: connect
    Can i use " Advanced Selection of Source File" and make it run\
    With regards
    Srini

  • File Sender Adapter with FTP protocol

    Hi,
    I implementet a file sender adapter with FTP protocol. There is a problem: the sender processes the files even if they're in use by another application.
    I.E. If another application put files (via ftp) in the sender work directory (that is on ftp), the sender processes those files before their transfer is completed.
    I don't want that this sender in a communication channel in PI 7.1, imports files in the system when they aren't completed yet.
    There are some ways to block sender before it processes incompleted files (in an ftp)?
    Thanks
    Matteo

    Hi,
    File sender adapter provides a check for NFS mode
    +Check this
    To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.
    ●      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.
    This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.+
    Other approach can be to apply OS level checks
    Regards
    Suraj

  • Processing Sequence issue of FTP protocol

    Hi,we are using the standard SAP MDM data syndication mode which using SAP XI to publish the data to client system.In this sceanrio,we think the data files generated by MDM Syndication Server should be processed according to their time stamp in the file system, starting with the oldest file.I saw the Processing Sequence parameters of transport protocol File System (NFS) in XI file adapter,but not in the FTP protocol.It seems if we want to sure the processing sequence by date,we have to use NFS.
           In the Notes 821267,it mentioned "The File Adapter allows you to configure the Processing Sequence of files for the Transport Protocol "File System (NFS)", which also determines the order for EOIO processing. Files can either be processed in ascending alphabetical order (Processing Sequence "By Name") or by their last modification time stamp (Processing Sequence "By Date"), where the oldest file is processed first. For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order." 
           My question is if the file name is consisted of the timestamp,such as "data20081116122345.xml"  "data20081117122040.xml",will the files be processed by the "timestamp" name ascending in the Transport Protocol FTP? For example "data20081116122345.xml" first, "data20081117122040.xml" second.Thanks.

    Yes, if the file consist of timestamp then with alphabetical order, it will execute in the sequence you described.
    Thanks

  • The FTP protocol: How does the AE manage inbound packets?

    I've noticed the following with resect to how the AE handles NAT port forwarding for the FTP protocol.
    1. Forwarding for FTP service seems to only work if the WAN port is 21, e.g. map 21 -> 21 works, 2121 -> 21, does not work (packets seem to be dropped at the AE). However, such a restriction hold with other services such like ssh or openvpn.
    2. When ftp packets are received by the LAN server, they have the IP of the client stripped and arrive at the server with the WAN IP assigned to the AE, as indicated by the logs. Again, other services that we are forwarding to the server arrive with the correct client IP. So this is only an FTP thing.
    The AE seems to do some analysis of incoming packets and treat them differently. One question:
    Why does the Airport Extreme do this, and apparently only for FTP packets?

    I found a workaround by changing the port my FTP server listens to from 21 to 2121. I then set the AE to forward port 21 on the WAN side to 2121 on the LAN side. This allows the server to know what IP the client is connecting from.
    I'm still curious why the AE strips the client's IP when you forward to port 21 on the LAN side.

  • Diff between HTTP and FTP protocols

    Hi
    could u plz tell the diff between Http & FTP protocols
    With Regards
    venkat.

    Google for "HTTP vs FTP".
    You will get plenty of articalls

  • FTP protocol in J2SE Plain Adapter

    HI All,
                I have to achieve FTP in J2SE (sender)adapter as i am picking the file from different server.In simple File adapter we can easily achieve it using FTP transport protocol but how to achieve the same in J2SE .What configuration i have to do in my J2se adapter?.Plz help me as it is urgent................
    Regards
    Saurabh Sharma

    When you have achieved this already in J2EE adapter, there should not be any problem in configuring the J2SE adapter. The parameters you need are described in only help:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    &#9675;       ftp.host=<ftp-server>
    &#9675;       ftp.port=<port-no.>
    &#9675;       ftp.user=<user name>
    &#9675;       ftp.password=<password>
    &#9675;       ftp.connection=perFileTransfer|permanently
    &#9675;       ftp.mode=<Binary|Text>
    Regards
    Stefan

  • Java code to create a new .txt file in FTP server  --- Help

    Hi,
    I wrote a standalone java app which creates a .txt file in my local machine and transfers it to FTP server. But my requirement now is to create a new .txt file with the same content in FTP server itself instead of creating locally with basic java code.
    I'm aware of transfering file from local machine to the FTP server using STOR command of FTP. But i never tried creating a new file & writing content into that in FTP server.
    So, if any one did this before please help me out with source code or any idea ???
    Thank you.
    Vj.

    simply_vijay wrote:
    thanks for your reply. yes i've seen the Apache Commons NET API , but there is no method or class to create a new file in FTP server. I'm really worried how to solve this problem ???Sure there is.
    There's a method where you can write data to a file on the server using an OutputStream, right? Well, instead of writing to a FileOutputStream, write to that OutputStream instead. Remember to close the OutputStream and call the method which says you're finished with the command (I forget what it's called).

  • Sender File(FTP protocol) Adapter not able to pick multiple files(eg *.xml)

    Dear Experts,
    I have SAP PI 7.0 installed on HP-UX. I installed Guild FTP on my Windows Vista machine.Configured File to File scenario. Sender File adapter(FTP Transport Protocol)is able to process the 'input.xml' file placed in FTP INBOX folder.
    I want to process all/multiple XML files. For this I have changed File Access Parameters in Sender Communication channel as:
    Source Directory -   /INBOX
    File Name          -   *.xml
    Immediately Sender Communication status went into red with error log messages :
    Error occurred while connecting to the FTP server "172.XX.XX.XX:21": java.lang.NullPointerException
    Please let me know what is the issue. Thanks in Advance.

    Hi
    It should work with *.xml
    Check with the connectivity as well.
    If this is still unable to process files then check with the FTP server compatibility.
    J2EE File adapter is based on RFC 959 and if GUILD FTP is non compatible to RFC format then exclusion mask may not work.
    Thanks
    Gaurav

  • Screen is blank when I click on the "Site" icon, no avenue to upload to an FTP.  Help please

    Trying to upload a website created through iWeb to an external host since MobileMe no longer an option. I Web is only linking to MobileMe when I click "publish".  Researched instructions through the Apple tutorials and webs help sites, says to click on the "Site" icon, then a dropdown menu should appear.  My screen in blank when I click on the "Site" icon.  No options for loading to an FTP???  I have an external FTP purchased and ready to go, very frustrating. Thanks for any support!!!

    iWeb 08 does not have that feature.  You will need to upgrade to iWeb 3 in iLife 11 in order to get that feature.  You can get iLife 11 at the online Apple Store while supplies last since iWeb (and iDVD) have been discontinued by Apple.
    To pubish to an FTB server in iWeb 2 use the File ➙ Publish to Folder menu option and then use a 3rd party FTP client like Cyberduck to upload the site files.
    OT

  • FTP Protocol support in JDK 1.4.2

    It seems like HTTP is the only official supported Protocol. Any idea if FTP is supported by Sun One Web Server 6.1 SP5. If yes is there any special set up, currently it is not working.
    Thanks

    You answered your own question, when you typed "Sun One Web Server".
    In case that's not clear, no, it doesn't support it.

  • XUTP_FTP FTP Package help

    I know this is not an oracle product but i know alot of people here use this.
    I have it/use it/love it thanks Chris Poole!!
    Wondered if someone could help me with a problem i am faced with.
    We put files on a FTP site that others use to download via FTP. I created a program that basically uses the FTP package to interrogate the directory (ftp.list)
    insert the entries into a table and download them to the users site.
    This works apart from occasionally people will replace a file. I need to somehow pick up on the file size/date stamp change on the file?
    Anyone know how/if I can achieve this.. I can download to temp location if FTP unable to do before hand?
    Thanks

    Not sure where Chris Poole's site has gone to, but fortunately, I've got a copy of his XUTL_FTP package lying around for reference.
    If you look in the package specification you will see...
    FUNCTION modtime (handle IN xutl_ftp.session_handle, filename IN VARCHAR2, tz_offset IN NUMBER DEFAULT NULL, raise_exception IN BOOLEAN DEFAULT TRUE) RETURN DATE;
      * Returns the last modified time of a file in as a DATE
      * PARAMETERS
      *     handle            handle to the FTP session
      *     filename          the file name (eg 'C:\temp\somefile.csv' or '/tmp/somefile.csv' or 'somefile.csv')
      *     tz_offset         the offset of your timezone wrt GMT (eg 11 or -5)
      *     raise_exception   command not understood exception flagging
      * RETURN
      *     The modified time of the file as a DATE
      * EXCEPTIONS (see above)
      *     ORA-24275 missing or invalid parameter (if filename is null)
      *     invalid_handle
      *     transient_error        
      *     permanent_error        
      *     unexpected_response    
      * NOTES
      *     The filename is passed as is to the FTP server, unless the filename is null, in which case null is returned
      *     The command MDTM is not an official FTP command and is not documented in any RFC. However it is supported by
      *     several servers. Use the raise_exception flag to suppress the exception that would be generated if the command
      *     is not understood. This does NOT suppress exceptions for other errors (used internally).
      *     Testing shows that if MDTM is supported the time is returned as GMT.
      *     Use the tz_offset parameter to return the time adjusted for you. The default is NULL which means no conversion.
      *     The offset you want to supply would normally be the DB time zone, if it's set.
      *     You can determine this by running a PL/SQL block that uses XUTL_FTP.MODTIME for a file that
      *     you can also ls -l in a telnet session. e.g. if somefile.csv shows Mar 23 09:10 in telnet but MODTIME
      *     returns 2006-03-22 22:10:30 (assuming a NLS_DATE_FORMAT of YYYY-MM-DD HH24:MI:SS)
      *     then you need to supply an offset of 11 (no need for plus sign).
      *     XUTL_FTP makes no attempt to guess your TZ relative to the FTP server, as the time zone of the DB
      *     does not have to be set unless you are dealing with 'timestamps with local timezone' datatypes.
      *     So unless explicitly set by a DBA during DB creation, the databases time zone will be GMT!
      */

  • Filesharing, ftp protocol

    Hey everyone im trying to set up an ftp out of the file sharing property. I've selected the file sharing on, checked ftp. When i go to the ftp adress it gives me it says, "You don’t have permission to view “Macintosh HD”.". I was wondering if anyone can help me with this issue, and point me in the direction of how I would get an ftp working, thank you.

    LittleSaint wrote:
    In 10.5, file sharing is enabled by checking "File Sharing". Under the options for File Sharing, you can choose which servers to turn on - AFP, FTP, or SMB.
    Oh, I see. Thanks - I didn't know that. It makes sense to group them that way and I always thought "personal file sharing" was not entirely self-explanatory.
    I'll have to remember that file sharing -> afp is effectively the new replacement for pfs (and file sharing -> ftp for ftp etc.).
    - cfr

  • FTP publishing - help!

    hi all, i have my own website at www.missharrison.com (i'm an english teacher and i use it for my kids to check missing assignments and know what's coming up next).
    i've been using a macbook pro with iweb '08 and have been using firefox ftp to publish my site (domain is at godaddy and hosting is at hostmonster). recently i got a new imac with iweb '09. at first i was confused about the mobileme publishing thing then i found the site publishing settings on iweb so i put in all the info so that iweb would be connected to my site through FTP. now when i make site changes, and publish it, it says it's been published (the connection works fine) but when i check the site, it looks exactly the same as if i never changed it. what am i missing?!
    please help - my kids are unhappy with me because the info is a month old!
    thanks in advance!

    Went back into Firefox FTP and deleted ALL of my files. wham bam, my entire website is gone. Downloaded cyberduck, followed the instructions to the letter (it was very easy), but unfortunately nothing worked. I'm starting to suspect there's a connection missing.
    Is it the server path? I don't know, nothing I do seems to work - I feel as if there's somehow a missing link that will transfer all of my files onto my website.
    http://www.missharrison.com/Site/Welcome.html <---- if i use this very specific address, the website pops up but it's all OLD. if you type in www.missharrison.com directly without the other tags, you'll see a big blank page with some mumbo jumbo.
    Oh boy.......................

Maybe you are looking for

  • How do I move all files from an old PPC to a new Mac Mini?

    How do I move all files from an old PPC to a new Mac Mini?

  • How to send E-mails using JSP

    I developed a system where users can login and check for updated information and documents. But the changes are made once or twice in a year. I want to send email after changing the documents. I stored email addresses in the DB. Now the question is h

  • Default pdf Viewer does not work correctly

    On this pdf, page 1 will not display, but displays fine in IE and Chrome. If you download the pdf, it displays just fine. So the issue is definitely FireFox, here is the url: http://www.powergatellc.com/pdfs/SNP-G12.pdf On this pdf, the Firefox has a

  • Process chains problems : Working every day with error (red)

    Hi All, I have a next question, about process chains problem. When I start my process chains immediate, then working without errors,  but I want this process chains work every day and chainged properties, selected date/time and periodicaly (every day

  • Currency display in a particular query

    Hi, In a Bex query I don't want to display the currency along with the amount . I have tried using SPRO but this applies to all the queries so is there another way to hide the currency for single query? Thanks in Advance,   Sheetal