Any java SFTP library support uploading that copying the access time?

How to upload the file to remote machine by copying the file's full permission and access time?
I don't see any method to include the -P flag when transfer file in JSCH or j2ssh .
E.g in jsch:
ChannelSftp.put(....)
Any library can support this?

Take a look at edtFTPj/PRO:
http://www.enterprisedt.com/products/edtftpjssl/overview.html
It won't copy the permissions, but you can certainly do a chmod after you have uploaded. You can also change the umask for uploaded files.
I don't believe the access time can be modified.

Similar Messages

  • Any way to install Windows 7 by copying the install disk to a HD first?

    Any way to install Windows 7 by copying the install disk to a HD first?
    I have HDs installed in my optical bays.
    I can copy the Win 7 install disk to a new freshly formatted HD if needed.
    I am unable to install from my Firewire DVD.
    It will not work.
    I have a NTFS partition ready to go on an internal drive.
    If there is a way to do this I would appreciate any help.
    I really do not want to put my DVD back in if it can be avoided.
    Thanks ... Ken

    I've done an install off a hard drive, but I was already running Windows on a separate drive partition.
    People have put DVD on flash memory, though that is 'maybe' and depends on booting from USB devices.
    I routinely put OS X Install DVD on a firewire hard drive and installs quickly (to say nothing of booting in under 60 sec).

  • Set the custom timer job that copy the data in the same list

    Hi
    How to set the custom timer job that copy the data in the same list
    Thanks,

    hello
    please it is wrong to copy all of the list3 item in list1 as the example as below is a copy of one item.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;
    //This namespace is used for the SPJobDefinition class
    using Microsoft.SharePoint.Administration;
    namespace GENERAL_CustomTimerJob
    //To create a custom timer job, first add a class to your SharePoint project and
    //inherit from SPJobDefinition. Implement the constructors and override the Execute
    //method as shown below. To install your timer job, and set the schedule, you must
    //add a Feature and a Feature receiver.
    class GENERAL_CustomTimerJob :
    SPJobDefinition
    #region Constructors
    //You must implement all three constructors
    public GENERAL_CustomTimerJob()
    base()
    public GENERAL_CustomTimerJob(string jobName,
    SPService service,
    SPServer server, SPJobLockType targetType)
    base(jobName, service, server, targetType)
    public GENERAL_CustomTimerJob(string jobName,
    SPWebApplication webApplication)
    base(jobName, webApplication,
    null, SPJobLockType.ContentDatabase)
    //Set the title of the job, which will be shown in the Central Admin UI
    this.Title = "Simple Example Timer Job";
    #endregion
    //Override the Execute method to run code.
    public override
    void Execute(Guid targetInstanceId)
    //Get the Web Application in which this Timer Job runs
    SPWebApplication webApp =
    this.Parent as
    SPWebApplication;
    //Get the site collection
    SPSiteCollection timerSiteCollection = webApp.ContentDatabases[targetInstanceId].Sites;
    //Get the Announcements list in the RootWeb of each SPSite
    SPList timerJobList =
    null;
    foreach (SPSite site
    in timerSiteCollection)
                    timerJobList = site.RootWeb.Lists.TryGetList("List3");
    if (timerJobList != null)
    string sourceUrl = "http://aydi-pc";
    string destinationUrl =
    "http://aydi-pc/sites/Site1/";
    string sourceList = "List3";
    string destinationList =
    "List1";
    using (SPSite sourceSite =
    new SPSite(sourceUrl))
    using (SPWeb sourceWeb = sourceSite.OpenWeb())
    using (SPSite destSite =
    new SPSite(destinationUrl))
                                    using
    (SPWeb destWeb = destSite.OpenWeb())
    SPList ObjSourcelist = sourceWeb.Lists.TryGetList(sourceList);
    SPList ObjDestinationlist = destWeb.Lists.TryGetList(destinationList);
    SPListItem newItem = ObjDestinationlist.Items.Add();
    SPListItemCollection items = ObjSourcelist.Items;
                                        if
    (items.Count > 0)
    foreach (SPListItem item
    in items)
    newItem["Title"] = item["Title"];
    newItem["Nom"] = item["Nom"];
    newItem["Prenom"] = item["Prenom"];
    newItem.Update();

  • IMac 20-inch on OSX 10.7.4 running iphoto 11, my photos from my iphoto library have been deleted. I have time machine but the iphoto library file is missing when I access time machine, help please.

    I have an imac 20-inch Late 2006 model on OSX 10.7.4 running iphoto 11, somehow the application ccleaner has deleted my photos from my iphoto library. I have time machine but the iphoto library file is missing when I access time machine.
    To restore photos I have followed the steps below
    Quit iPhoto.
    Connect your Time Machine drive.
    In the Finder, open the folder containing your iPhoto Library. Unless you've moved your iPhoto Library, it can be found in Home/Pictures/iPhoto Library.
    Enter Time Machine.  (Time Machine can be found in the Dock or in the /Applications folder.)
    Choose your desired backup. The timeline on the right side of the screen displays a purple tick mark for each of the backups stored on your Time Machine drive.
    Select the iPhoto library you would like to restore, and click the Restore button.
    I dont get the option in step 6 as I dont have an iphoto library file to choose? Does anyone know why?

    Hi Barry
    Thanks but as mentioned all is intact, even at step 3 I can see the current library in Home/Pictures/iPhoto Library which has no photos, but when I access time machine any point before the NOW option the iphoto library in Home/Pictures/iPhoto Library is missing from the finder window. 
    As you can see here it is
    and now its gone. I have no explanantion.
    How do I go about moving this question as you suggested.

  • How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    Hello, lustige luka. 
    Thank you for visiting Apple Support Communities. 
    The Personal Hotspot feature using USB  should be as simple as connecting the device to your Mac via the USB cable when Hotspot is enabled.  Here is some more information regarding this feature and an article that will provide some troubleshooting steps if you are experiencing an issue. 
    iOS: Understanding Personal Hotspot
    http://support.apple.com/kb/ht4517
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/TS2756
    Cheers,
    Jason H. 

  • My nano was working just fine and I had been using it as my fitness watch ( music). I plugged it in to charge and when I came back to unplug it, it was so hot that it burned my hands.  I continued to unplug it and that was the last time it worked.

    My nano was working just fine and I had been using it as my fitness watch ( music). I plugged it in to charge and when I came back to unplug it, it was so hot that it burned my hands.  I continued to unplug it and that was the last time it worked.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       

  • My volume buttons won't work. Music plays when I get a phone call. That is the only time my speaker makes noise. My settings are how they should be, the top button is not on silent, I've shut my phone off many times, I've totally restored my phone. Help

    My volume buttons won't work. Music plays when I get a phone call. That is the only time my speaker makes noise. My settings are how they should be, the top button is not on silent, I've shut my phone off many times, I've totally restored my phone. Help

    Genius reservation http://www.apple.com/retail/geniusbar/

  • I need an app or software that records the date/time each time a write something and press enter. This needs to be quick so I can continue writing right after I press enter, and the date/time is inserted for each word. Does this sort of software exist?

    I need an app or software that records the date/time each time a write something and press enter. This needs to be quick so I can continue writing right after I press enter, and the date/time is inserted for each word. Imagine a spreadsheet - each time a write something in a cell and press enter to go into the next cell, I need the app/software to automatically insert the corresponding dat and time. Does this sort of software exist?

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • How do i transfer a rental movie... it shows under my library.. but that is the only place and I can not right click to add or drag and place in my device

    i rented a movie... it shows as renteal under my library category... but that is the only place... how do i transfer it to my ipod classic?... it does not show under movies when i click that tab after clicking my device icon

    Are you sure you don't have a 5G iPod Video?  5G Videos do not support rented films.  Use this article to help you determine what generation and model your iPod is.
    http://support.apple.com/kb/ht1353
    B-rock

  • Any Partner function in SAP CRM that determinate the Superior (chief position) of Estructure Organizative?

    Hi Guru's
    Any know if there any Partner Function of SPRO in CRM that simulate the standar rule 00000157  of PFAC ?
    I need aplicate this Partner Function in my Policies rules, but I don't know how to do it.
    Thank you very much advance,
    Carlos Castillo.

    Hi, use FM RH_ACT_LEADING_POSITION.
    Regards

  • HT1238 Using this process I will not be able to keep any of my music? Because that is the only reason I kept my iPod Shuffle.

    Will resetting my iPod erase my music? Because that is the only reason I kept my iPod Shuffle.

    Running that utility will erase any music stored on it. An iPod shouldn't be the only place your music is or be considered a backup device.
    (86840)

  • Is there any incentive from Apple for people that bought the Ipad Air just before the Ipad Air 2 just came out?

    It looks prety frustrating knowing that a better and cheaper ipad came out just a few days after buying the "old" one

    Yes... and not: Technology is always moving forward, of course. But is rare that new and more performant products are cheaper than previous ones. When that happens, some companies decide to give updates (with softwares) or some gifts to the last buyers of the previous version (I remember that happened once with the iphone, when Apple decided to give some money back to people that bought the previeus version in the previous 2 months). In my case it came out 3 weeks after I bought it, then no possible return for me. However thanks for the answer! of course is not a big deal...

  • Java threads. Are they running at the same time?

    Hello everybody. I am implementing a multiagent system in java and at some point in the program i need a specific function (from a specific class) to run at the same time in several "copies". Those functions are communicating with each other with some messages, so as you can understand not running at the same time is a big problem because of this messages.
    Below i am giving you an example of the code i am using. I would like your opinion whether those functions are running parallel or serial. If they are not running parallel what should i do? Any opinion or something that can help me would be perfect. Thanks in advance.
    //my class
    public class Agent extends Thread {
                           public void MinConflicts(Agent array[],int max_moves){//code in here}
    public static void main(String[] args) throws IOException {
                  Agent[] fbi = new Agent[num] //num is inserted by the user
                 //code here
                 for(i=0;i<num;i++){
                         fbi.start(); //starting the treads
    for(i=0;i<num;i++){
    fbi[i].MinConflicts(fbi,max_moves); //running the function that i want to run parallel
    //code here also :)

    What you appear to be doing here is creating an array of Thread references (which I hope at some point gets populated with actual Thread object references!)......because your first loop is wanting to cycle through each array slot starting the referenced Thread. Then the next loop iterates through the array again, this time calling the method for each Thread object.
    Assuming that you do populate the array, what this code will do is start each Thread which, I believe, will start and immediately terminate because run() has not been over-ridden. The second loop winds up calling the method for each Thread in the array. You are actually calling it from the main thread though. So, as previously advised, I think that you will run each method sequentially.
    The direction that I would head with this is to override run() in your agent Thread and have that run() method call the MiniConflicts() method. Then, in your main routine you can do away with the second for loop. The looping start will start all of the individual threads and they will execute the run() method......which in essence will be executing your MiniConflicts method.
    This reply is NOT a total design... I am sure that there are holes to be filled... but I think that will get you headed in the right direction.

  • Please Help. My iTunes Library Is Damaged? For The Second Time

    No one seems to help.
    ive posted this lots.

    If your 'iTunes Library' file is damaged and you don't have a recent copy of it, I'm afraid you will have to rebuild your library.
    You will loose all playlists, ratings, date added an podcast subscriptions.
    Trash the 'iTunes Library' file in ./Users/YourUsername/Music/iTunes.
    Open iTunes. You will have an empty library. Drag and drop the 'iTunes Music' folder on the empty library.
    The 'iTunes Music' folder is default at ./Users/YourUsername/Music/iTunes.
    If you stored your music at another location, drag and drop that folder.
    Hope this helps.
    M

  • How to support multiple users at the same time?

    Hi all,
    I have a Labview software which controls a analyzer via GPIB connector. When user A is using the software, user B has to wait until A is done. But actually, the analyzer is not very busy, when user A is using the software.
    I want user A, B, C and D can use the software at the same time. just like we can open Multiple websites at the same time.
    How can I program the software, so that the software can be open multiple times? Do you have any example?
    Thanks a lot.
    Steven
    Solved!
    Go to Solution.

    Are all the users going to be measuring the exact same thing from the same instrument?
    It would be possible to write a separate instrument server application that would handle all the direct interactions with the instrument. When one of the users needed to access the instrument, they would gain access to it through this server.
    The big, Big, BIG caveat is that each interaction with the instrument would need to be atomic. In other words each access would need to configure the instrument, initiate the reading, report the results, and then reset the instrument back to some known default value.
    As Dennis said, not a trivial process, but probably do-able...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for

  • Why does my phone use data with cellular data turned off?

    I have problems with my iPhone 5 using data on its own. It usually happens at night, with all the apps closed and plugged in to charge (should be connected to my wifi). Recently, I started turning off my cellular data any time I'm at home out of desp

  • Maverick wont download. error message. Please advise

    Each time I go to download the free update, it asks for my apple ID which I input and then after a few seconds an error message pops up saying there was a problem with the download try again later. Please advise a way around this. Thanks

  • XOQ-01950: Cube contains multiple BuildSpecifications with the same name.

    Hi All , While executing the Maintain Cube option it is throwing below issue : Any Clue ? XOQ-01950: The AWCubeOrganization for cube "NN_OLAP_POC.MARKET_SALES_CUBE" contains multiple BuildSpecifications with the same name. Thanks, DxP

  • 5630 Nokia XpressMusic Problem after Hard Reset in...

    Hi Sir, i have had a problem in my phone 5630 my phone was going to be restarting again and again then i apply hard Reset to it by Pressing *, 3 and Green button it has done smoothly but know when i see in my phone menu the INTERNET folder has not "F

  • Error configuring identity management

    Hi, i´ve installed a middle tier instance of AS 10g , and i want to register it into a oid instance, but when i try to do this trough EM it fails and show the following information in the logs, could anobody help us, I'm sure that the oid is up and r